package com.itlaobing.spring.ioc.lifecycle;

import java.util.logging.Logger;

// 假的Servlet
public class UserServlet {

    private Logger logger = Logger.getLogger( this.getClass().getName() );

    public UserServlet() {
        logger.info( "UserServlet()" );
    }

    public void init(){
        logger.info( "初始化" );
    }

    public void service(){
        logger.info( "服务" );
    }

    public void destory(){
        logger.info( "销毁" );
    }

}
